/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package br.com.deployment.utilitario;

import java.util.ResourceBundle;

/**
 *
 * @author roniere
 */
public class MsgBundle {
     
    public static String getValidadeResourceBundle(String str) {
        ResourceBundle resourceBundle;
        resourceBundle = ResourceBundle.getBundle("resources/Messages");
        return resourceBundle.getString(str);
    }
    public static String getValidadeResourceBundle(String str, String arquivo) {
        ResourceBundle resourceBundle;
        resourceBundle = ResourceBundle.getBundle(arquivo);
        return resourceBundle.getString(str);
    }
    
}
